﻿namespace MicroCloud.Utils
{
    /// <summary>
    /// 组织审计信息接口
    /// </summary>
    public interface IOrganizationAudited : IOrganizationAuditedBase
    {
        /// <summary>
        /// 获取或设置 组织机构编号
        /// </summary>
        [OrganizationFlag]
        [DisplayName("组织机构编号")]
        string OrganizationId { get; set; }

    }

    /// <summary>
    /// 组织审计信息接口
    /// </summary>
    /// <typeparam name="TOrganizationKey">组织机构编号类型</typeparam>
    public interface IOrganizationAudited<TOrganizationKey> : IOrganizationAuditedBase
        where TOrganizationKey : struct
    {
        /// <summary>
        /// 获取或设置 组织机构编号
        /// </summary>
        [OrganizationFlag]
        [DisplayName("组织机构编号")]
        TOrganizationKey? OrganizationId { get; set; }

    }

    /// <summary>
    /// 组织审计信息基接口
    /// </summary>
    public interface IOrganizationAuditedBase
    { }

}
